import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

import {state,mutations,getters} from "./mutations"
import {actions} from "./actions"
import fenlei from "./modules/fenlei"
import guige from "./modules/guige"
import vip from "./modules/vip"
import banner from "./modules/banner"
import guanli from "./modules/guanli"
import miaosha from "./modules/miaosha"

export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
    fenlei,
    guige,
    vip,
    banner,
    guanli,
    miaosha
  }
})
